package com.zf.bm.common.core.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zf.bm.common.core.base.entity.BaseEntity;
import com.zf.bm.common.core.mybatis.annotation.FieldIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author guojing
 * @since 2021-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("citycode")
@FieldIgnore({"remarks", "delFlag", "createBy", "id", "updateBy", "createDate", "updateDate", "ip", "mask", "mac", "gateway", "dip", "nip", "opType"})
public class Citycode extends BaseEntity<Citycode> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "code", type = IdType.AUTO)
    private String code;

    private String name;
}
